extends Node2D

func my_init(p_title,p_hp,p_attack,p_info,p_texture):
	$vbox/TextureRect.texture = p_texture
	$Panel/title.text = p_title
	$Panel/hp.text = str(p_hp)
	$Panel/attack.text = str(p_attack)
	$Panel/info.text = str(p_info)
	pass


func _on_close_pressed() -> void:
	$Panel.hide()
	pass # Replace with function body.


func _on_info_button_pressed() -> void:
	$Panel.show()
	pass # Replace with function body.
